const path=require('path')
//  let url = 'https://new.qq.com/omn/20210516/20210516A09D5P00.html'
let url = 'f:/www/class/gp23/a.html'

console.log(path.dirname(path.dirname(url)));
console.log(path.extname(url));
console.log(__dirname);
const logpath = path.join(__dirname, '../data','log.txt')
console.log(logpath);
console.log(path.resolve('./data/a.txt'));
